package com.bocai.service;

import com.bocai.bean.CardInfo;

import java.math.BigDecimal;


public interface ICardService {
    /**
     * 查询优惠券
     *
     * @param cardMoney 优惠券金额
     * @return
     */
    CardInfo selectCardInfo(BigDecimal cardMoney);

    CardInfo selectCardInfo();

    int updateCardInfo(BigDecimal cardMoney, BigDecimal cardRewardMoney, Integer cardState);

}
